#define _CRT_SECURE_NO_WARNINGS
#include"SList.h"


void test()
{
	SLNode* list = NULL;
	SLPushFront(&list, 1);
	SLPushFront(&list, 2);
	SLPushFront(&list, 3);
	SLprint(list);
	SLNode* pos = SListFind(list, 2);
	
	SListEraseAfter(pos);
	SLprint(list);
	SLTInsert(&list, pos, 10);
	SLprint(list);
}

int main()
{

	test();
	return 0;
}